package com.hotel.homehotel.before.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hotel.homehotel.before.entiy.User;
import com.hotel.homehotel.before.entiy.vo.UserVo;
import io.swagger.annotations.ApiParam;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Service("userService")
public interface UserService<T> {

    public  boolean  register(User user);
    public  User getInfo(String phoneNumber);
    public  User getUserById(String id);
    public  boolean userUpdate(User user);
    public  boolean userDelete(String id);
    public List<User> getAllUser();
}
